<html>
<head><meta charset="utf-8"><title>Internal lint: Ban `pub` re-exports in co… compiler-team#368 · t-compiler/major changes · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/index.html">t-compiler/major changes</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Internal.20lint.3A.20Ban.20.60pub.60.20re-exports.20in.20co.E2.80.A6.20compiler-team.23368.html">Internal lint: Ban `pub` re-exports in co… compiler-team#368</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="212159377"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Internal%20lint%3A%20Ban%20%60pub%60%20re-exports%20in%20co%E2%80%A6%20compiler-team%23368/near/212159377" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Internal.20lint.3A.20Ban.20.60pub.60.20re-exports.20in.20co.E2.80.A6.20compiler-team.23368.html#212159377">(Oct 03 2020 at 07:55)</a>:</h4>
<p>A new proposal has been announced: <a href="https://github.com/rust-lang/compiler-team/issues/368">Internal lint: Ban <code>pub</code> re-exports in compiler/ #368</a>. It will be announced at the next meeting to try and draw attention to it, but usually MCPs are not discussed during triage meetings. If you think this would benefit from discussion amongst the team, consider proposing a design meeting.</p>



<a name="212160343"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Internal%20lint%3A%20Ban%20%60pub%60%20re-exports%20in%20co%E2%80%A6%20compiler-team%23368/near/212160343" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Internal.20lint.3A.20Ban.20.60pub.60.20re-exports.20in.20co.E2.80.A6.20compiler-team.23368.html#212160343">(Oct 03 2020 at 08:23)</a>:</h4>
<p>Could someone merge this with <a href="#narrow/stream/131828-t-compiler/topic/Making.20rustc_middle.20faster.20to.20compile/near/212157622">https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/Making.20rustc_middle.20faster.20to.20compile/near/212157622</a> ?</p>



<a name="212163923"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Internal%20lint%3A%20Ban%20%60pub%60%20re-exports%20in%20co%E2%80%A6%20compiler-team%23368/near/212163923" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Internal.20lint.3A.20Ban.20.60pub.60.20re-exports.20in.20co.E2.80.A6.20compiler-team.23368.html#212163923">(Oct 03 2020 at 10:01)</a>:</h4>
<p><span class="user-mention" data-user-id="216206">@lcnr</span> the MCP text says that contributors can also second, I'm not sure it's been done but "A compiler team member or contributor who is knowledgeable in the area can second by writing..."</p>



<a name="212164043"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Internal%20lint%3A%20Ban%20%60pub%60%20re-exports%20in%20co%E2%80%A6%20compiler-team%23368/near/212164043" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> triagebot <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Internal.20lint.3A.20Ban.20.60pub.60.20re-exports.20in.20co.E2.80.A6.20compiler-team.23368.html#212164043">(Oct 03 2020 at 10:05)</a>:</h4>
<p><span class="user-group-mention" data-user-group-id="492">@T-compiler</span>: Proposal <a href="https://github.com/rust-lang/compiler-team/issues/368#issuecomment-703079727">#368</a> has been seconded, and will be approved in 10 days if no objections are raised.</p>



<a name="212164056"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Internal%20lint%3A%20Ban%20%60pub%60%20re-exports%20in%20co%E2%80%A6%20compiler-team%23368/near/212164056" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Internal.20lint.3A.20Ban.20.60pub.60.20re-exports.20in.20co.E2.80.A6.20compiler-team.23368.html#212164056">(Oct 03 2020 at 10:05)</a>:</h4>
<p>yeah, I think until now this just never happened <span aria-label="thumbs up" class="emoji emoji-1f44d" role="img" title="thumbs up">:thumbs_up:</span> Thanks</p>



<a name="212535192"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/233931-t-compiler/major%20changes/topic/Internal%20lint%3A%20Ban%20%60pub%60%20re-exports%20in%20co%E2%80%A6%20compiler-team%23368/near/212535192" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/233931-t-compiler/major-changes/topic/Internal.20lint.3A.20Ban.20.60pub.60.20re-exports.20in.20co.E2.80.A6.20compiler-team.23368.html#212535192">(Oct 07 2020 at 09:42)</a>:</h4>
<p>In rust-analyzer, we hack something like this using negative imports: <a href="https://github.com/rust-analyzer/rust-analyzer/blob/faddea935332de3156a5462baa07136bf2e98bf9/crates/hir/src/lib.rs#L63-L66">https://github.com/rust-analyzer/rust-analyzer/blob/faddea935332de3156a5462baa07136bf2e98bf9/crates/hir/src/lib.rs#L63-L66</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>